import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入elementui库
import ElementUi from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 引入格式化css
import './assets/css/reset.css'
// index
import './assets/css/index.less'
// 字体文件
import './assets/fonts/iconfont.css'

// 挂载全局公共组件
import './utils/component.js'
// 挂载全局filter
import './utils/fliters'

Vue.use(ElementUi)

Vue.config.productionTip = false

Vue.prototype.$bus = new Vue()

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
